package com.zhengshang.api.domain;

import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电商频道对象 app_goods_channel
 *
 * @author zhengshang
 * @date 2022-04-16
 */
public class AppGoodsChannel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long goodsChannelId;

    /**
     * 所属导航Id
     */
    @Excel(name = "所属导航Id")
    private Long navigateId;

    /**
     * 频道名称
     */
    @Excel(name = "频道名称")
    private String channelName;

    /**
     * 频道图片
     */
    @Excel(name = "频道图片")
    private String channelImg;

    /**
     * 1轮播图,2频道,3广告
     */
    @Excel(name = "1轮播图,2频道,3广告")
    private String channelType;

    /**
     * 跳转地址
     */
    @Excel(name = "跳转地址")
    private String channelUrl;

    /**
     * 跳转地址类型
     */
    @Excel(name = "跳转地址类型")
    private String channelUrlType;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long channelSort;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer channelStatus;

    public void setGoodsChannelId(Long goodsChannelId) {
        this.goodsChannelId = goodsChannelId;
    }

    public Long getGoodsChannelId() {
        return goodsChannelId;
    }

    public void setNavigateId(Long navigateId) {
        this.navigateId = navigateId;
    }

    public Long getNavigateId() {
        return navigateId;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelImg(String channelImg) {
        this.channelImg = channelImg;
    }

    public String getChannelImg() {
        return channelImg;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelUrl(String channelUrl) {
        this.channelUrl = channelUrl;
    }

    public String getChannelUrl() {
        return channelUrl;
    }

    public void setChannelSort(Long channelSort) {
        this.channelSort = channelSort;
    }

    public String getChannelUrlType() {
        return channelUrlType;
    }

    public void setChannelUrlType(String channelUrlType) {
        this.channelUrlType = channelUrlType;
    }

    public Long getChannelSort() {
        return channelSort;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setChannelStatus(Integer channelStatus) {
        this.channelStatus = channelStatus;
    }

    public Integer getChannelStatus() {
        return channelStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("goodsChannelId", getGoodsChannelId())
                .append("navigateId", getNavigateId())
                .append("channelName", getChannelName())
                .append("channelImg", getChannelImg())
                .append("channelType", getChannelType())
                .append("channelUrl", getChannelUrl())
                .append("channelUrlType", getChannelUrlType())
                .append("channelSort", getChannelSort())
                .append("delFlag", getDelFlag())
                .append("channelStatus", getChannelStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
